package com.example.questionsystem.modules.qu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@TableName("subject_sessions")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SubjectSessions {
    @TableField("subject_id")
    private String subjectId;
    @TableField("project_id")
    private String projectId;
    @TableField("subject_name")
    private String subjectName;
    @TableField("session_name")
    private String sessionName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("start_time")
    private String startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("end_time")
    private String endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("kmxh")
    private String kmxh;

}